package com.hzlx.mapper;/*
 *@author liu
 *2024/07/2024/7/25
 *@version
 */

import com.hzlx.entity.AccountFlow;
import com.hzlx.entity.WatchList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author UP
 * @Date 2024/7/25 9:12
 * @Version 1.0
 **/
public interface AccountFlowMapper {

    void saveAccountFlow(AccountFlow accountFlow);

    WatchList getById(@Param("id") Integer id);

    List<WatchList> getAll(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);
    Integer countGetAll(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize);

}
